(C) 1996 AROS - The Amiga Replacement OS


NAME
LONG SPTanh()
SYNOPSIS

LONG fnum1

LOCATION
In MathTransBase at offset 12
FUNCTION
Calculate hyperbolic tangens of the ffp number

INPUTS
fnum1 - Motorola fast floating point number
RESULT
Motorola fast floating point number

flags: zero : result is zero negative : result is negative overflow : (not possible)

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
( e^x - e^(-x) ) tanh(x) = ---------------- ( e^x + e^(-x) )

tanh( |x| > 9 ) = 1

HISTORY
21.07.1997 bergers
*** empty log message ***